package com.shaojiang;

import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.Parameter;

/**
 * Created by drbita021 on 2019/12/29.
 */
@Mojo(name="shaojiang")
public class ShaojiangPlugin extends AbstractMojo {
    @Parameter
    String sex;
    @Parameter
    String describe;

    @Override
    public void execute() {
        getLog().info(String.format("lubun sex=%s, discrebe=%s", sex, describe));
    }
}
